/**
 * main
 */
requirejs.config({
	baseUrl: './js',
	paths: {
		'easing': 'libs/jquery.easing.1.3',
		'swipe': 'libs/jquery.swipe'
	},
	waitSeconds: 0,
	shim: {
		//'timepicker': ['jquery-ui']
	}
});

requirejs(extraJS, function() {
	for(var key in extraJS) {
		var execJS = arguments[key];
		
		if(!execJS) {
			continue;
		}

		if(typeof execJS == 'function') {
			execJS();
			continue;
		}

		if(typeof execJS == 'object' && execJS['init']) {
			execJS['init']();
			continue;
		}
	}
});

